package com.sen.patterns.behavioral.strategy.ex1;

/**
 * 橡皮鸭
 * 
 * @author sen
 * 
 */
public class RubberDuck extends Duck {

	public RubberDuck() {
		flyBehavior = new FlyNoWay();
		quackBehavior = new ZiZiQuack();
	}

	public void display() {
		System.out.println("我是橡皮鸭.....");
	}

}
